package com.xiashitech.agent.service.facade;

import com.xiashitech.interfaces.agent.constants.AgentStatus;

import java.util.function.Consumer;

/**
 * agent客户端门面
 */
interface XSClient {

    String syncConfig(Consumer<String> respHandler);

    String getSystemInfo(Consumer<String> respHandler);

    String syncAgentStatus(AgentStatus agentStatus, Consumer<String> respHandler);

    String syncAgentHost(String host, Consumer<String> respHandler);

    String updateCacheStatus(Consumer<String> respHandler);

}
